< previous page page_419 next page >

Page 419
(table continued from previous page)
ObjectDescription
ScreenAllows you to query and set screen-related data in your application. For example, you can set the mouse pointer as well as query the height and width of your screen. You can also determine which form and control currently has focus.

Rules When Using System Objects
System objects are global. This means you do not declare them or pass them to any procedure or functionyou simply use them wherever you need them. System objects are only available at runtime. There are no design time properties or methods that can be set.
The App Object
The App object provides you with some great information about your running application. The App object only has propertiesthere are no methods associated with this object. The App object is filled in automatically by Visual Basic right when your program loads. Most of the information comes from the Project, Properties menu, which you set at design time. Table 21.3 lists the important properties of the App object.
Table 21.3 Properties of the App Object.
PropertyDescription
CommentsThis property comes from the Comments value you set in the Project, Properties menu.
CompanyNameThis property comes from the Company Name value you set in the Project, Properties menu.
EXENameThis property is filled in with whatever the EXE filename is for your application.
HelpFileThis property comes from the Help File Name value you set in the Project, Properties menu.
LegalCopyrightThis property comes from the Legal Copyright value you set in the Project, Properties menu.

(table continued on next page)

 
< previous page page_419 next page >

If you like this book, buy it!